package ch4;

public class GoodPerson {
    String name;
    String sex;

    public GoodPerson(String name,String sex) {
        this.name = name;
        this.sex=sex;
    }
    public void show(){
        System.out.println("这个好人是"+name+",性别是"+sex);
    }
}
